<?php

namespace app\admin\model;

use think\Model;
use think\model\concern\SoftDelete;

class GoodsImages extends Model
{
    use SoftDelete;
    protected $deleteTime = 'delete_time';
    protected $hidden = ['create_time', 'update_time', 'delete_time'];


    //相册图片 属于 商品的
    public function goods()
    {
        return $this->belongsTo('Goods');
    }
}
